package presenter;

import java.awt.Graphics;

public class TextLine extends Sprite {

    private String text;
    
    public TextLine() {
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getText() {
        return text;
    }

    public void drawSelf(Graphics g) {
        g.drawString(text, super.getX(), super.getY());
    }    
}
